/*
 * @Author: zhuxiaoyi
 * @Date: 2024-01-12 14:45:10
 * @LastEditor: zhuxiaoyi
 * @LastEditTime: 2024-06-24 15:33:17
 * @Description:
 */
import { Entity, Column, PrimaryGeneratedColumn, CreateDateColumn, UpdateDateColumn, OneToMany } from 'typeorm';

@Entity('tb_l1pub_graph')
export class Graph {

  @PrimaryGeneratedColumn()
  id: number;

  @Column()
  name: string;

  @Column()
  graph: string;

  @Column()
  flow: string;

  @Column({nullable: true })
  dynamic: string;

  @CreateDateColumn()
  createDate: Date;

  @UpdateDateColumn()
  updateDate: Date;


}
